package com.xnfh.home.viewmodel

import com.xnfh.framework.base.BaseRepository
import com.xnfh.framework.bean.ProductIntroduce
import com.xnfh.framework.bean.RespStateData
import com.xnfh.network.manager.ApiManager

/**
 * @Description:
 * @Author: ziheng
 * @CreateDate: 2024/1/8 17:43
 * @UpdateUser: ziheng
 * @UpdateDate: 2024/1/8 17:43
 * @UpdateRemark: 更新说明
 */
class ProductIntroduceViewModelRes: BaseRepository() {

    suspend fun requestProductList(pageNum: Int,productName: String?,productType: String?,data: RespStateData<ProductIntroduce>) = dealResp(
        {ApiManager.api.requestProductList(pageNum,productName,productType)},data
    )

}